<?php if (!defined('THINK_PATH')) exit();?><!DOCTYPE html>
<html lang="zh-cn">
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no" />
    <meta name="renderer" content="webkit">
    <title>后台管理中心</title>  
    <link rel="stylesheet" href="<?php echo C('ADMIN_CSS_URL');?>pintuer.css">
    <link rel="stylesheet" href="<?php echo C('ADMIN_CSS_URL');?>admin.css">
    <script src="<?php echo C('ADMIN_JS_URL');?>jquery.js"></script>   
</head>
<body style="background-color:#f2f9fd;">
<div class="header bg-main">
  <div class="logo margin-big-left fadein-top">
    <h1><img src="<?php echo C('ADMIN_IMG_URL');?>y.jpg" class="radius-circle rotate-hover" height="50" alt="" />后台管理中心</h1>
  </div>
  <div class="head-l">
      <a class="button button-little bg-green" href="<?php echo U('Home/Index/index');?>" target="_blank"><span class="icon-home"></span> 前台首页</a> &nbsp;&nbsp;
      <a class="button button-little bg-red" href="<?php echo U('Manager/logout');?>"><span class="icon-power-off"></span> 退出登录</a>
  </div>
</div>
<div class="leftnav">
  <div class="leftnav-title"><strong><span class="icon-list"></span>菜单列表</strong></div>
  <h2><span class="icon-pencil-square-o"></span>分类管理</h2>
    <ul style="display:block">
        <li><a href="<?php echo U('Cate/showlist');?>" target="right"><span class="icon-caret-right"></span>分类列表</a></li>
        <li><a href="<?php echo U('Cate/add');?>" target="right"><span class="icon-caret-right"></span>添加分类</a></li>
    </ul>
  <h2><span class="icon-pencil-square-o"></span>博文管理</h2>
  <ul>
    <li><a href="<?php echo U('Blog/showlist');?>" target="right"><span class="icon-caret-right"></span>博文列表</a></li>
    <li><a href="<?php echo U('Blog/add');?>" target="right"><span class="icon-caret-right"></span>博文添加</a></li>
  </ul>
    <h2><span class="icon-pencil-square-o"></span>相册管理</h2>
    <ul>
        <li><a href="<?php echo U('Pictures/showlist');?>" target="right"><span class="icon-caret-right"></span>相册列表</a></li>
        <li><a href="<?php echo U('Pictures/add');?>" target="right"><span class="icon-caret-right"></span>添加相册</a></li>
    </ul>
</div>
<script type="text/javascript">
$(function(){
  $(".leftnav h2").click(function(){
	  $(this).next().slideToggle(200);
	  $(this).toggleClass("on");
  })
  $(".leftnav ul li a").click(function(){
	    $("#a_leader_txt").text($(this).text());
  		$(".leftnav ul li a").removeClass("on");
		$(this).addClass("on");
  })
});
</script>
<ul class="bread">
    <li><a href="<?php echo U('Index/info');?>" target="right" class="icon-home"> 首页</a></li>
    <li><a href="##" id="a_leader_txt">网站信息</a></li>
</ul>
<div class="admin">
    <iframe scrolling="auto" rameborder="0" src="info.html" name="right" width="100%" height="100%"></iframe>
</div>

</body>
</html>